package org.particles.domain.sim;

import java.awt.Color;

import org.particles.domain.Particle;
import org.particles.domain.field.FieldParams;
import org.particles.domain.world.World;
import org.particles.domain.world.World2D;
import org.particles.gui.GuiParticle;

public class ElectronSimulation3 extends ElectronSimulation {
	public ElectronSimulation3() {
		super();
		setName("Atom grid 3");
	}

	@Override
	public World createWorld() {
		final World2D world = (World2D) super.createWorld();
		Particle particle = createParticle();
		particle.setFieldParams(fieldMarker, new FieldParams(200D, 20D));
		GuiParticle guiParticle = new GuiParticle(particle);
		guiParticle.setColor(Color.RED);
		world.addParticle(guiParticle);
		return world;
	}

}
